package com.tjetc.domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin implements Serializable {
    @Serial
    private static final long serialVersionUID = 2760320113625690830L;
    private Integer id;

    private String username;

    private String password;

    public Admin(String username, String password) {
        this.username = username;
        this.password = password;
    }
}